from pyhildonmemer.commons import Login
class Profile(Login):
    def __init__(self, uid, login = "", name = "", descr= "", photo = "", profType = 2, passwd = ""):
        super(Profile, self).__init__(login = login, passwd = passwd, profType = profType)
        self.name = name
        self.uid = uid
        self.photo = photo
        self.profileDescription = descr
        self.url = None

    def getName(self):
        return self.name

    def getUid(self):
        return self.uid

    def getPhoto(self):
        return self.photo

    def getDescription(self):
        return self.profileDescription

    def getUrl(self):
        return self.Url

    def setUrl(self, url):
        self.url = url

    def getPasswd(self):
        return self.passwd